Package client.teavm.common
Klasse ExportedUtilitiesApi
java.lang.Object
client.teavm.common.ExportedUtilitiesApi
- Alle implementierten Schnittstellen:
IExportedUtilities,ILogger
Provides a set of utility functions that can be accessed from JavaScript or
WebAssembly builds generated by TeaVM.
This class exposes reusable methods that are independent of the emulator core, allowing web clients or external tools to perform SID-related calculations without instantiating the full emulator.
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
LOG_IMPL
-
LOG
-
mainArgs
-
-
Konstruktordetails
-
ExportedUtilitiesApi
-
-
Methodendetails
-
filterCurve
Generate a SID chip–dependent filter curve.This function estimates the frequency response for each possible filter cutoff (FC) value, depending on the selected emulation model. It calls into the corresponding
FilterModelConfigof either ReSID or ReSID-FP to compute the analog cutoff frequency in Hz.The result is typically used for visualization or DSP processing in JavaScript/WebAssembly clients.
- Angegeben von:
filterCurvein SchnittstelleIExportedUtilities- Parameter:
emulation- the SID emulation type (e.g.Emulation.RESIDFP)filter- the filter configuration section defining model parameters- Gibt zurück:
- an array of
FC_MAXdouble values representing the estimated cutoff frequency curve
-
finest
-
fine
-
info
-
severe
-